package com.caigou.util;

import org.springframework.util.StringUtils;

public class ParamUtil {

    // mybatis 针对字符串的非空判断(null != o && o != '')
    static boolean isNotEmpty(Object o){
        return null != o && !o.equals("");
    }
    // mybatis 针对数字的判断(null != 0 && o != -1)
    static boolean isNotNumber(Object o){
        return null != o && (int) o != -1;
    }
}
